package com.ruoyi.monitormanage.mapper;

import com.ruoyi.common.core.domain.Parameter;
import com.ruoyi.common.core.domain.Quaparameter;
import com.ruoyi.common.core.domain.dto.QualityMonitorDataDTO;
import com.ruoyi.common.core.domain.entity.TPeopleTypeVO;
import com.ruoyi.monitormanage.domain.PersonResult;
import com.ruoyi.monitormanage.domain.TAgeGroup;
import com.ruoyi.monitormanage.domain.TestWholeDataExt;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface QualityMapper {
    public List<TestWholeDataExt> getqualitycontrol(Quaparameter quaparameter);

    public long getCount(Quaparameter quaparameter);
    public PersonResult getqualityresult(@Param("testWholeDataExt")TestWholeDataExt testWholeDataExt);

    @Select("SELECT * FROM t_peopletype WHERE ID=#{id}")
    TPeopleTypeVO getPeopleType(@Param("id") Integer id);

    @Select("SELECT * FROM t_agegroup WHERE ID=#{id}")
    TAgeGroup getAgeGroup(@Param("id") Integer id);

    List<QualityMonitorDataDTO> getQualityMonitorData(Parameter quaparameter);

}
